// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ValidationException.cs" company="">
//   
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace ExecutionTool.Profile
{
    using System;

    public class ValidationException : Exception
    {
        #region Constructors and Destructors

        public ValidationException(string message, string profileName)
            : base(message)
        {
            this.ProfileName = profileName;
        }

        #endregion

        #region Public Properties

        public string ProfileName { get; private set; }

        #endregion

        #region Public Methods and Operators

        public override string ToString()
        {
            return string.Format("Profile Name [{0}]:{1}", this.ProfileName, base.ToString());
        }

        #endregion
    }
}
